Page({
    data: {
        url: ""
    },
    onLoad: function(t) {
        switch (t.type) {
          case "kuaishou":
            this.setData({
                url: "http://m.etoote.com/growth/dl_new_v6?photourl=wangka_1012&autoDownload=true&openFrom=wangkavip&adid=1480"
            });
            break;

          case "zhihu":
            this.setData({
                url: "https://www.zhihu.com/signup"
            });
            break;

          case "sendRecord":
            this.setData({
                url: "https://txwk.10010.com/auc/v0/auth/aHR0cHMlM0ElMkYlMkZ0eHdrLjEwMDEwLmNvbSUyRktDYXJkJTJGcGFnZSUyRnBvY2tldCUyRmluZGV4Lmh0bWwlM0ZpbnF1aXJlVHlwZSUzRGdpdmVPdXRSZWNvcmQ="
            });
            break;

          case "vipCenter":
            this.setData({
                url: "https://txwk.10010.com/KCard/wxCommon/goto?state=KCARD_SUPER_VIP_GOLD_VIP"
            });
        }
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {}
});